package skinfactory
{
	import flash.display.Sprite;

	public class SkinScaleImage extends Sprite
	{
		private var scaleBitmap: ScaleBitmap;
		public function SkinScaleImage( tag: String )
		{
			scaleBitmap = SkinFactory.getInstance().getSkin9GridBitmap( tag );
			this.addChild( scaleBitmap );
		}
		override public function set width(value:Number):void
		{
			scaleBitmap.width = value;
		}
		override public function set height(value:Number):void
		{
			scaleBitmap.height = value;
		}
	}
}